/*
 * @Description:
 * @Autor: lcz
 * @Date: 2022-06-14 21:15:34
 * @LastEditors: lcz
 * @LastEditTime: 2023-01-18 10:34:49
 */
import { renderRoutes } from 'react-router-config';
import _ from 'lodash';
import { useEffect } from 'react';
const Home = (props: any) => {
  const route = props.route;
  useEffect(() => {
    console.log(_.VERSION, '444555');
    console.log(_.add(0.1, 0.2), '444555');
  }, []);
  return (
    <div>
      首页
      {route && renderRoutes(route.routes)}
    </div>
  );
};
export default Home;
